<script setup>
import CommonAside from "@/components/commonAside.vue"
import CommonHeader from "@/components/commonHeader.vue"
import CommonTab from "@/components/commonTab.vue";
</script>

<template>
  <div class="common-layout">
    <el-container style="height: 100%">
      <common-aside></common-aside>
      <el-container>
        <el-header>
          <common-header></common-header>
        </el-header>
        <common-tab />
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="less">
body,
html {
  height: 100%;
  margin: 0;
}
#app {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.common-layout {
  height: 100%;
}
.el-header {
  background-color: #333;
  height: 40px;
}
.el-aside {
}
</style>
